{include file="user.header.html"}
<div id="main" class="clearfix"> {include file="user.menu.html"}
  <div id="right"> {include file="user.curlocal.html"}
    <div class="wrapful"> {include file="user.submenu.html"}
      <div class="wrap">
        <div class="public_index table1">
          <table>
            <!-- {foreach from=$questions item=question name=fe_question} -->
            <tr class="bgcolor">
              <td class="align2" width="30"><input type="checkbox"  value="{$question.ques_id}" class="checkitem" /></td>
              <td ><a href="{url route='goods/qa' id=$question.item_id}" target="_blank" class="link3">{$question.item_name}</a></td>
              <td width="150"><span class="table_user">{$question.username|default:$lang.anonymous}</span></td>
              <td style="width:130px"><a href="javascript:;" confirm="{$lang.drop_confirm}" uri="{url route='my_qa/delete' id=$question.ques_id}" class="delete J_AjaxRequest">{$lang.drop}</a>&nbsp;&nbsp; 
                <!--{if !$question.reply_content}-->
                <a href="javascript:void(0);" class="add1_ico reply" ectype="dialog" dialog_id="my_qa_reply" id="my_qa_reply" dialog_title="{$lang.reply}" dialog_width="400" uri="{url route='my_qa/reply' id=$question.ques_id}">{$lang.reply}</a> 
                <!--{else}--> 
                <a href="javascript:void(0);" class="add1_ico reply" ectype="dialog" dialog_id="my_qa_edit_reply" dialog_title="{$lang.edit_reply}" dialog_width="400" uri="{url route='my_qa/reply' id=$question.ques_id}">{$lang.edit_reply}</a> 
                <!--{/if}--></td>
            </tr>
            <tr>
              <td></td>
              <td><h3>{$lang.question_content}:</h3>
                <p class="float-left pt10 pb10 pl10" style="width:500px;">{$question.question_content|escape}</p></td>
              <td><span class="time">{$question.time_post|date_format:"%Y-%m-%d %H:%M:%S"}</span></td>
              <td></td>
            </tr>
            <!--{if $question.reply_content}-->
              <tr>
              <td></td>
              <td><h3><span class="color8">{$lang.my_reply}:</span></h3>
                <p class="float-left pt10 pb10 pl10" style="width:500px;"><span class="color3">{$question.reply_content|escape}</span></p></td>
              <td><span class="time">{$question.time_reply|date_format:"%Y-%m-%d %H:%M:%S"}</span></td>
              <td></td>
            </tr>
            <!--{/if}--> 
            <!-- {foreachelse} -->
            <tr>
              <td colspan="4"><div class="notice-word">
                  <p>{$lang.no_records}</p>
                </div></td>
            </tr>
            <!-- {/foreach} --> 
            <!--{if $questions}-->
            <tr style="background:#f4f4f4">
              <th><input id="all2" type="checkbox" class="checkall" /></th>
              <th colspan="3"> <p class="position1">
                  <label for="all2"><span class="all">{$lang.checkall}</span></label>
                  <a href="javascript:void(0);" class="delete" ectype="batchbutton" uri="{url route='my_qa/delete'}" name="id" presubmit="confirm('{$lang.drop_confirm}')">{$lang.drop}</a> </p>
                <div class="position2 clearfix pr10 center"> {include file="page.bottom.html"} </div>
              </th>
            </tr>
            <!--{/if}-->
          </table>
        </div>
      </div>
    </div>
  </div>
</div>
<iframe id="iframe" name="iframe" src="about:blank" frameborder="0" width="0" height="0" style="display:none"></iframe>
{include file="user.footer.html"}